<?php
set_time_limit(0);
ini_set('memory_limit','1024M');
define('MODE_NAME', 'cli');
define('HTTP_SCHEME','http');
define('DOMAIN_SUFFIX','zwxc0755.com');

// 检测PHP环境
if(version_compare(PHP_VERSION,'5.3.0','<'))  die('require PHP > 5.3.0 !');

// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define('APP_DEBUG',true);

// 定义应用目录
define('APP_PATH','./Application/');

$_SERVER['HTTP_HOST'] = isset($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:'';
//站点域名
define('SITE_NAME','小龙虾');
define('SITE_URL','http://'.strip_tags($_SERVER['HTTP_HOST']));

//缓存目录
define('RUNTIME_PATH', './Runtime/');

//网站根路径
define('ROOT_PATH', dirname(__FILE__).'/');

//Common分组下模板路径
define('COMMON_TPL_PATH', '../../Common/View/');


// 引入ThinkPHP入口文件
require './ThinkPHP/ThinkPHP.php';


